<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过渡效果</title>
</head>

    <style>

        .my-div {
            display: flex;
            justify-content: center;
            background: gray;

        }
        .my-div div {
            margin: 50px;
        }

        img {
            width: 150px;
            height: 150px;
            display: block;
            font-size: 0;
            border: 10px solid wheat;
            transition: all ease .5s;
        }

        img:hover {
            border-radius: 50%;
            box-shadow: 0 0 2px 1px red;
            transform: scale(2) translateY(50px);
        }
    </style>

<body>

    <div class="my-div">
        <div><img src="img/rabbit.png" alt=""></div>
        <div><img src="img/rabbit.png" alt=""></div>
        <div><img src="img/rabbit.png" alt=""></div>
    </div>
    
</body>
</html>